home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c++-part1 / 7613 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  1.2 KB

  1. Path: news1.h1.usa.pipeline.com!usenet
  2. From: grantp@usa.pipeline.com(Pete)
  3. Newsgroups: comp.lang.c++
  4. Subject: Re: DLL's with classes in them
  5. Date: 24 Feb 1996 10:30:20 GMT
  6. Organization: Kalevi, Inc.
  7. Message-ID: <4gmpbs$cvl@news1.usa.pipeline.com>
  8. References: <4gkvhk$b1v@nms.telepost.no>
  9. NNTP-Posting-Host: pipe4.h1.usa.pipeline.com
  10. X-PipeUser: grantp
  11. X-PipeHub: usa.pipeline.com
  12. X-PipeGCOS: (Pete)
  13. X-Newsreader: Pipeline USA v3.3.0
  14.  
  15. On Feb 23, 1996 18:03:31 in article <Re: DLL's with classes in them>,
  16. 'Carsten Arnholm <ca@sesam.dnv.no>' wrote: 
  17.  
  18.  
  19. >J P Crocker <whl.adv.eng@dial.pipex.com> wrote: 
  20. >>Here's one... 
  21. >> 
  22. >>I'm using Borland Turbo C++ 3.1, and am trying to create a DLL with a
  23. class  
  24. >>definition which I can import into my App.  I've decared the class in the
  25. DLL  
  26. > .. [ sample deleted ] .. 
  27. >Unfortunately, I do not believe this is possible. DLL's support only
  28. C-style 
  29. >API functions. You can have objects inside & outside the DLL, but you
  30. cannot 
  31. >import or export such objects. 
  32. >If someone can prove me wrong, I would be most grateful. 
  33. Ok, I'll take the bait :-).  Two commercial examples of class libraries 
  34. implemented as DLL's: 
  35.  
  36.      MFCxx.DLL 
  37.      OWLxx.DLL 
  38.  
  39. -- 
  40. Pete Grant 
  41. Kalevi, Inc. 
  42. Software Engineering & development
  43.